package com.hrbxlh.dao;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

@Repository
public interface AnswerDao {
	
	/**
	 * @description 查询某问题答案的列表
	 * @return 
	 * @throws Exception
	 */
	public List<Map<String,Object>> getAllAnswerByProId(Map<String, Object> paramMap) throws Exception;
	boolean answerProblemMoble(Map<String,Object> paramMap) throws Exception;

	/**
	 * 回答问题。
	 * @throws IOException
	 */
	public boolean answerProblem(Map<String,Object> paramMap) throws Exception;
	
	/**
	 * 查询回答当前为题的个数
	 * @throws IOException
	 */
	public int getAnsertCount(Map<String,Object> paramMap) throws Exception;

}
